<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Your Application Has Been Approved - Tetheraid</title>
    <style>
    /* Main Styles */
    body {
      font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
      line-height: 1.6;
      color: #333333;
      margin: 0;
      padding: 0;
      background-color: #f8f9fa;
    }

    /* Container */
    .container {
      max-width: 600px;
      margin: 0 auto;
      padding: 20px;
      background-color: #ffffff;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    /* Header */
    .header {
      text-align: center;
      padding: 20px 0;
      border-bottom: 1px solid #eaeaea;
    }

    /* Content */
    .content {
      padding: 20px;
    }

    /* Campaign Title */
    .campaign-title {
      background: linear-gradient(135deg, #1a73e8, #0d47a1);
      color: white !important;
      padding: 20px;
      border-radius: 6px;
      text-align: center;
      margin: 20px 0;
      font-size: 22px;
      font-weight: bold;
    }

    /* Button */
    .btn {
      display: inline-block;
      padding: 12px 30px;
      background: linear-gradient(135deg, #4CAF50, #2E7D32);
      color: white !important;
      text-decoration: none;
      border-radius: 4px;
      font-weight: bold;
      margin: 15px 0;
      text-align: center;
      font-size: 16px;
    }

    /* Next Steps */
    .next-steps {
      background-color: #f0f4f8;
      padding: 25px;
      border-radius: 6px;
      margin: 30px 0;
      border-left: 4px solid #1a73e8;
    }

    /* Impact Stats */
    .impact-stats {
      display: flex;
      justify-content: space-around;
      margin: 25px 0;
      text-align: center;
    }

    .stat {
      padding: 10px;
    }

    .stat-number {
      font-size: 24px;
      font-weight: bold;
      color: #1a73e8 !important;
    }

    /* Footer */
    .footer {
      text-align: center;
      padding: 20px;
      font-size: 13px;
      color: #6c757d !important;
      border-top: 1px solid #eaeaea;
      line-height: 1.5;
    }

    /* Responsive Design */
    @media screen and (max-width: 600px) {
      .container {
        width: 100%;
        border-radius: 0;
      }

      .impact-stats {
        flex-direction: column;
      }

      .campaign-title {
        font-size: 18px;
        padding: 15px;
      }
    }
  </style>
</head>

<body>
<div class="container">
    <!-- Header -->
    <div class="header">
        <h1 style="color: #1a73e8; margin-bottom: 5px;">Application Approved</h1>
        <p style="margin-top: 0; color: #6c757d; font-size: 18px;">Your project is now live on Tetheraid</p>
    </div>

    <!-- Content -->
    <div class="content">
        <p>Dear <strong th:text="${username}">User</strong>,</p>

        <p>Great news! Your application to list your cause on <strong>Tetheraid</strong> has been approved.</p>

        <!-- Campaign Title Section -->
        <div class="campaign-title" th:text="${campaignTitle}">Clean Water Initiative for Rural Communities</div>

        <p>Your campaign is now officially live on our platform and will begin receiving cryptocurrency donations to support your humanitarian efforts.</p>

        <div class="next-steps">
            <h3 style="color: #1a73e8; margin-top: 0;">Next Steps</h3>
            <p>Log in to your Tetheraid account to view your project details and manage settings:</p>

            <div style="text-align: center; margin: 20px 0;">
                <a href="https://tetheraid.com" class="btn">Visit Tetheraid Platform</a>
            </div>

            <p>On the platform, you can:</p>
            <ul>
                <li>View your project details and status</li>
                <li>Track donation progress and fund allocation</li>
                <li>Update project information and milestones</li>
                <li>Manage your account settings</li>
            </ul>
        </div>

        <div class="impact-stats">
            <div class="stat">
                <div class="stat-number">$2.4M+</div>
                <div>Donated</div>
            </div>
            <div class="stat">
                <div class="stat-number">57K</div>
                <div>Lives Impacted</div>
            </div>
            <div class="stat">
                <div class="stat-number">12</div>
                <div>Countries</div>
            </div>
        </div>

        <p>If you have any questions, please contact our support team at support@tetheraid.com.</p>

        <p>Thank you for joining us in leveraging cryptocurrency to make a difference in the world!</p>

        <p>Sincerely,<br /><strong>The Tetheraid Team</strong></p>
    </div>

    <!-- Footer -->
    <div class="footer">
        <p>© 2025 Tetheraid Foundation. All donations are tax-deductible in applicable jurisdictions.</p>
        <p>Tetheraid is a registered 501(c)(3) non-profit organization. </p>
    </div>
</div>
</body>
</html>